package org.omich.loaves;

import java.io.Serializable;
import java.util.HashMap;

public class LoavesStatus implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -2989388057834609700L;
	public static class EatingLoaf {
		public EatingLoaf(int loafNumber,  int loafWeight, int loafTail) {
			this.mNumber = loafNumber;
			this.mWeight = loafWeight;
			this.mTail = loafTail;
		}
		
		public int getNumber() {
			return mNumber;
		}
		
		public int getTail() {
			return mTail;
		}
		
		public int getWeight() {
			return mWeight;
		}
		
		private int mNumber;
		private int mTail;
		private int mWeight;
	}; 
	
	public HashMap<Integer, Integer> getFreeLoaves() { return freeLoaves; }
	public HashMap<String, EatingLoaf> getEaters() { return eaters; }
	public HashMap<String, Integer> getResults() { return eatingResult; }
	
	private HashMap<String, EatingLoaf> eaters = new HashMap<String, EatingLoaf>();
	private HashMap<Integer, Integer> freeLoaves = new HashMap<Integer, Integer>();
	private HashMap<String, Integer> eatingResult = new HashMap<String, Integer>();
}
